home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Whiteline: delta
/
whiteline CD Series - delta.iso
/
tex
/
style
/
misc
/
zmacros.tex
/
node4_mn.html
< prev
next >
Wrap
Text File
|
1995-11-25
|
3KB
|
70 lines
<H1><A ID="SECTION00040000000000000000">
Other mathematical displays</A>
</H1>
<P>
The <tex2html_verb_mark>19<tex2html_verb_mark> environment can be used to set multi-line formulas without
an enclosing box: it is useful for given-set declarations, theorems, and the
miscellaneous bits of mathematics that don't come in a box:
<BR>
<tex2html_image_mark>#zed51#
<BR>
is printed from the input
<BLOCKQUOTE>
</BLOCKQUOTE><PRE><tex2html_verbatim_mark>verbatim13#</PRE><BLOCKQUOTE>
</BLOCKQUOTE>
The formula <tex2html_verb_mark>20<tex2html_verb_mark> may be abbreviated to
<tex2html_verb_mark>21<tex2html_verb_mark>; the <tex2html_verb_mark>22<tex2html_verb_mark> environment is a generalization of the
<tex2html_verb_mark>23<tex2html_verb_mark> environment of L<SUP><SMALL>A</SMALL></SUP>T<SMALL>E</SMALL>X, so this redefinition of
commands is fairly benign. Notice that the maths is set flush left on the
same indentation as schemas and their friends.
Here too you can use <tex2html_verb_mark>24<tex2html_verb_mark> for a little extra space
between lines.
<P>
For algebraic-style proofs, there is the <tex2html_verb_mark>25<tex2html_verb_mark> environment.
This is like the <tex2html_verb_mark>26<tex2html_verb_mark> environment, but the separation between
lines is increased a little, and page breaks may occur between lines.
The intended use is for arguments like this:
<BR>
<tex2html_image_mark>#argue57#
<BR>
Here, again, is the input:
<BLOCKQUOTE>
</BLOCKQUOTE><PRE><tex2html_verbatim_mark>verbatim14#</PRE><BLOCKQUOTE>
</BLOCKQUOTE>
When the left-hand side is long, I find this style better than the
L<SUP><SMALL>A</SMALL></SUP>T<SMALL>E</SMALL>X <tex2html_verb_mark>27<tex2html_verb_mark> style, which wastes a lot of space.
<P>
Another brand of box is the inference rule; the rule
<BR>
<tex2html_image_mark>#infrule64#
<BR>
comes from the input
<BLOCKQUOTE>
</BLOCKQUOTE><PRE><tex2html_verbatim_mark>verbatim15#</PRE><BLOCKQUOTE>
</BLOCKQUOTE>
Note the optional argument to <tex2html_verb_mark>28<tex2html_verb_mark>: it is a side-condition of
the rule.
<P>
Finally, there's the <tex2html_verb_mark>29<tex2html_verb_mark> environment, used for
making displays like this:
<BR>
<tex2html_image_mark>#syntax70#
<BR>
from input like this:
<BLOCKQUOTE>
</BLOCKQUOTE><PRE><tex2html_verbatim_mark>verbatim16#</PRE><BLOCKQUOTE>
</BLOCKQUOTE>
This kind of thing is useful when you're describing a language,
and it can also be used for data-type definitions.
I've even---time for a confession---used it once for a fragment
of VDM.
The final column is optional:
just omit the third <tex2html_verb_mark>30<tex2html_verb_mark> if you don't want it.
<P>